package test.src.awt_swing;

import javax.swing.*;
import java.awt.*;

public class Book {
    private String name;

    private String dir;

    private String introduce;

    public Book(String name, String dir, String introduce) {
        this.name = name;
        this.dir = dir;
        this.introduce = introduce;
    }

    public String getDir() {
        return dir;
    }

    public String getIntroduce() {
        return introduce;
    }

    public String getName() {
        return name;
    }

    public void setDir(String dir) {
        this.dir = dir;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return name;
    }

}
